package com.ifast.data.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ifast.data.dao.DataCityDao;
import com.ifast.data.domain.DataCityDO;
import com.ifast.data.service.DataCityService;
import com.ifast.common.base.CoreServiceImpl;

/**
 * 
 * <pre>
 * 
 * </pre>
 * 
 * <small> 2018-04-15 21:40:23 | lvyq</small>
 */
@Service
public class DataCityServiceImpl extends CoreServiceImpl<DataCityDao, DataCityDO> implements DataCityService {

	@Autowired
	DataCityDao dataCityDao;

	@Override
	public Long getId() {
		return dataCityDao.getId();
	}

	@Override
	public List<DataCityDO> getDepartureAddress(String departure) {
		return dataCityDao.getDepartureAddress(departure);
	}

	@Override
	public List<DataCityDO> getDestinationAddress(String destination) {
		return dataCityDao.getDestinationAddress(destination);
	}

}
